/**
 * Copyright © 2021-2025 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.billing.service.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import com.jeeplus.core.excel.annotation.ExcelDictProperty;
import com.jeeplus.core.excel.converter.ExcelDictDTOConverter;
import com.jeeplus.core.query.Query;
import com.jeeplus.core.query.QueryType;
import com.jeeplus.core.service.dto.BaseDTO;
import com.jeeplus.drug.domain.DrugInfo;
import com.jeeplus.patient.domain.PatientInfo;
import com.jeeplus.visit.domain.VisitInfo;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
 * 结算信息DTO
 * @author xx
 * @version 2023-12-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BillingInfoDTO extends BaseDTO {

	private static final long serialVersionUID = 1L;

	        
	/**
     * 病人id
     */
    @Query(type = QueryType.EQ)
	@ExcelProperty("病人id") 
	private String patientId;
	        
	/**
     * 就诊记录
     */
    @Query(type = QueryType.EQ)

	private String visitId;
	        
	/**
     * 消费项
     */
	@ExcelProperty(value = "消费项")
	private String consumptionItem;
	        
	/**
     * 单价
     */
	@ExcelProperty("单价") 
	private Double unitPrice;
	        
	/**
     * 数量
     */
	@ExcelProperty("数量") 
	private Integer amount;
	        
	/**
     * 费用金额
     */
	@ExcelProperty("费用金额") 
	private Double cost;
	        
	/**
     * 支付方式
     */
	@ExcelProperty(value = "支付方式", converter = ExcelDictDTOConverter.class)
	@ExcelDictProperty("payment_method")
	private String paymentMethod;
	        
	/**
     * 支付状态
     */
	@ExcelProperty(value = "支付状态", converter = ExcelDictDTOConverter.class)
	@ExcelDictProperty("application_state")
	private String paymentStatus;

	@TableField(exist = false)
	private PatientInfo patientInfo;
	@TableField(exist = false)
	private VisitInfo visitInfo;
	@TableField(exist = false)
	private DrugInfo drugInfo;

}
